package temp;

import java.io.Serializable;

public class Message implements Serializable{

	private String message;
	private MESSAGE_TYPE type;
	private Object object;
	

	
	public Message(String message,MESSAGE_TYPE type, Object object) {
		super();
		this.message = message;
		this.type = type;
		this.object = object;
	}

	public MESSAGE_TYPE getType() {
		return type;
	}

	public void setType(MESSAGE_TYPE type) {
		this.type = type;
	}
	
	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
}
